package com.example.springcloudcus.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Song Yinghui
 * @date 2018/11/7
 * @Version 1.0
 */
@FeignClient(value = "service-hi")
public interface TestInterface {

    @RequestMapping(value = "/test")
    String test(@RequestParam("str") String param);
}
